import Vue from 'vue'
import App from './App.vue'
import router from "@/route";
// 导入vuex
import store from './store';
import "@/mock"
import components from './main/components';
import element from '@/main/element'
import veevalidate from '@/main/veevalidate'
import lazyload from '@/main/lazyload'

Vue.use(components)
Vue.use(element)
Vue.use(veevalidate)
Vue.use(lazyload)


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  store: store,
  router: router,
  beforeCreate() {
    Vue.prototype.$bus = this
  }

}).$mount('#app')
